-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes search usage telemetry #1427
Fixes search usage telemetry #1427
Conversation
Signed-off-by: Tao liu <liutaoaz@amazon.com>
I like the this table, explain how to use this very well. what's our recommendation to make it a user manual or doc
|
@Flyingliuhub Thanks this is super nice, it would be great to add some UTs to ensure the config works in expected behavior. |
+1 |
Do we need add this config here for Docker containers: and then update |
We used the default value from config, do we need to change docker file ? |
Signed-off-by: Tao liu <liutaoaz@amazon.com>
Thanks, I added some unit tests. |
Signed-off-by: Tao liu <liutaoaz@amazon.com>
Signed-off-by: Tao liu <liutaoaz@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !! Thanks for UT.
Thanks Mihir. |
Is this still valid: https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/data/server/server.api.md?plain=1#L1104 I know we don't currently use these docs but I think @ashwin-pc just made a proposal here: opensearch-project/documentation-website#492 to start including this docs which I agree with. So might be worth to update this doc here. |
You mean like how to let the public know? Yeah right now the current strategy has been create an issue with the technical details in this repo: https://github.com/opensearch-project/documentation-website/issues/new?assignees=&labels=enhancement%2C+untriaged&template=FEATURE_REQUEST_TEMPLATE.md&title=%5BFEATURE%5D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have 1 nit about the default value and 1 comment I think you should address about the potentially undefined case but I'm still ecstatic that this is in here!
So don't want to block this. I think if you just make a commit on top of this should not wipe out my approval. Just don't rebase, that will definitely clear everyone's approval.
Signed-off-by: Tao liu <liutaoaz@amazon.com>
96b3fd4
Signed-off-by: Tao liu liutaoaz@amazon.com
Description
Search Telemetry is used to analyze performance for sucess/failed search request in Dashboards. It will save telemetry data into .kibana_1 index, there are thousands of concurrent search request from Dashboards. It causes significant load in OpenSearch cluster. We have been seen some case 1/3 Search/Update request of total are come from this. This PR will suppress the search usage telemetry based on the switch defined on opensearch_dashboard.yml or data plugin config.
Issues Resolved
resolves #928
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr